<template>
  <div>
    <!-- <Button type="primary"
            @click="modal1 = true">Display dialog box</Button> -->
    <!-- <Modal v-model="modal1"
           title="Common Modal dialog box title"
           @on-ok="ok"
           @on-cancel="cancel">
      <p>Content of dialog</p>
      <p>Content of dialog</p>
      <p>Content of dialog</p>
    </Modal> -->
    <Button @click="show"> 1</Button>

  </div>
</template>
<script>
export default {
  data() {
    return {
      modal1: false
    }
  },
  methods: {
    show() {
   
      this.$Modal.info({
        title: '哈哈哈',
        content: 'ghhhhh',
        onOK:()=>{
          this.$Message.info('Clicked ok');

        }
      })
    }
  }
}
</script>